div.hi-mention-user-selector {
  position: absolute;
  background-color: #fff;
  padding: 2px 5px;
  border: 1px solid #eee;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin: 0;
  border-radius: 4px;
  overflow-y: auto;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: transform 300ms, opacity 300ms;
  transform: scale(0.9);

  &.open {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1)
  }

  &.h5 {
    width: 100%;
  }

  &::-webkit-scrollbar {
    width: 6px;
    height: 6px;
  }

  /* 设置滚动条轨道的样式 */
  &::-webkit-scrollbar-track {
    background-color: #f8f8f8;
  }

  /* 设置滚动条滑块的样式 */
  &::-webkit-scrollbar-thumb {
    background-color: #ddd;
    border-radius: 3px;
  }

  /* 设置滚动条滑块在鼠标悬停时的样式 */
  &::-webkit-scrollbar-thumb:hover {
    background-color: #ddd;
  }

  &>div.hi-mention-user-item {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 3px 5px;
    border-radius: 2px;
    cursor: pointer;

    &:hover {
      background-color: #f5f5f5;
    }

    &>div.hi-mention-user-item-left {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      overflow: hidden;
      margin-right: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: #eee;

      img {
        max-width: 100%;
        max-height: 100%;
      }
    }

    &>div.hi-mention-user-item-right {
      width: calc(100% - 34px);
      font-size: 14px;
      /* 文本不换行，溢出隐藏 */
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
}